<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Promise.resolve</title>
  </head>
  <body></body>
  <script>
    Promise.resolve("houdunren");
    console.log(Promise.resolve("houdunren"));

    Promise.hd = function(value) {
      return new Promise((resolve) => {
        resolve(value);
      });
    };
    console.log(Promise.hd("后盾人"));
  </script>
</html>
